|
|
|
|
|
by ChrisMarshallNY
20 days ago
|
|
So far, that's been my experience. My work still needs my architectural guidance, but I can rely on the LLM to do a decent (not exceptional) job on the details, as long as I am willing to break the tasks down to a small enough level. I believe that LLMs will, eventually, reach a level where they can provide decent architecture, but I suspect that will suffer the same issues affecting code generation. It will be "decent," but not "awesome." I think exceptional people will still be able to beat LLMs at architectural design. The issue is that the definition of "exceptional," means that it doesn't happen very often, and most people manage to convince themselves that they are the exception. |
|
Not sure I agree... I will fudge here and interpret "architecture" as "abstraction."
The essence of software engineering is abstraction. You project out some key attributes from a problem domain, and distill out its most essential properties into a simplified model of the system, with all the extraneous parameters and noise stripped out.
This is what makes the complex tractable and amenable to human cognition - the chunking [0] of something immensely detailed into a small model that can fit in someone's head. This is why interface segregation principle [1] exists - a small, cohesive [2] interface is easier to understand than a god interface 200 methods wide.
Here is the punchline: LLMs cannot deliver abstractions meaningful to, or understandable by, humans. It's like the proof of the four color theorem - "computer says yes," but the proof abstracts nothing higher-level away from the essence of the problem - it just dumps hundreds of pages of lower-level detail onto the desk of mathematicians, instead of being able to produce a succinct one-pager that captures any deep or overarching insight.
LLMs have no need or care for abstraction, or "the magical number seven," [3] or comprehensibility. They will happily take what was once a cohesive model with five, six, attributes, and keep dumping more and more columns into it until you have everything but the kitchen sink in one (very poor, not cohesive) 200-column wide "model" or "abstraction."
It doesn't make sense to humans, because it was never designed to. Under the LLM worldview, only machines need to make sense of the system, and machines have no need for abstraction because they are comfortable juggling trillions of details a second.
Building human tools for human cognition, human abstractions for human brains, human ideas at human scales, requires a human sensibility and a human design. An LLM has no understanding of, nor need for, these things.
I would expect an LLM zealot to reply, "once AI is sufficiently advanced, it will be able to do that." Maybe you can operationalize [4] "comprehensibility" or "quality of abstraction" in some way that could be measured and expressed to a machine intelligence, but now, who chooses and defines that metric out of a space of infinitely many? I don't think it's something that can be judged a priori by a machine - the human has to try it on, like a glove, to see if the abstraction fits their brain.
[0] https://en.wikipedia.org/wiki/Chunking_(psychology)
[1] https://wiki.c2.com/?InterfaceSegregationPrinciple
[2] https://wiki.c2.com/?CouplingAndCohesion
[3] https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus...
[4] https://en.wikipedia.org/wiki/Operationalization