News for hackers. Stuff that matters.
Re:AI won't steal your job, people leveraging AI will by jmfldn on Monday April 03, 2023 @10:31AM (#35424203)
I think the zero sum, "use AI everywhere" vs "don't use it at all" are both to be avoided. The wise path is somewhere in the middle.

On avoiding it, if your competitors are getting massive productivity gains from AI tools, your hand-crafted, artisanal code is going to be expensive and your customers will vote with their wallets.

Re:AI won't steal your job, people leveraging AI will by rf15 on Monday April 03, 2023 @10:37AM (#35424328)
Exactly. I am absolutely no fan of the new AI products, and the only question you have to answer for yourself is: can you leverage this technology for what you are trying to do? For me the answer was "yes", and I now enjoy having copilot around to dynamically type boilerplate I'd need much longer to type and fill out myself.
Re:AI won't steal your job, people leveraging AI will by goldfeld on Monday April 03, 2023 @10:49AM (#35424566)
Why would you be absolutely no fan of a sure technological improvement? Is it because of the personal threat to professionals? Not commenting personally on you here, but I am very surprised at programmers' lack of nose for opportunities and how, after realizing GPT could do coding even before replacing retail and industry jobs, coders are completely on the defense. Is it a threat to job availability and security? Yes, but programmers have long been to other professionals (doctors even?) what AI is now to them (I was a coder too). Well, tough luck, the world changes and fast, better to try to create and carve out a new job or business idea for yourself than stand on denial of something that, good or bad, could either make or break humanity, but humanity has no say on the inexorable progress of ideas. This actually is science right here, don't tech people embrace science, or only when the collateral damage is elsewhere and not on them?
Re:AI won't steal your job, people leveraging AI will by rf15 on Monday April 03, 2023 @11:50AM (#35425856)
The technology's hype precedes it whenever you try to engage with it. On the surface, it looks a lot like the bitcoin hype, and if you remember IBM Watson you might get the idea that nothing much will come of it. So for me, I will keep using it, but I have nothing but disdain for the people worrying about AI overtaking the world, claiming this will revolutionise everything/etc.. Especially since this technology is almost good enough to tempt lay people to believe the statistically related words to your query would mean anything. In fact, iirc this has already happened and e.g. caused a suicide.
Re:AI won't steal your job, people leveraging AI will by zelphirkalt on Monday April 03, 2023 @12:44PM (#35427015)
I think many are not actually against usage of these kinds of ML models in general, but against what is done using them right now: Code laundering, violation of licenses, intransparency, training on personal data, no responsible person to talk to, no way of having data removed, that one does not want in the model or the model to train from, and more.

Any of these can lead to dystopia.

When we use computer vision to identify benign or malignant tumors, we might cost someone a job, but at least what that model was trained on can be known and we are not leaking personal data in the model and probably there is no violation of licenses or similar to the data that was used to train the model. The model is very limited in output. The consequences are kind of simple to monitor or predict, because the model can only be used in its specialized area of use.

With the new crop of ML models the situation is different. Lawmakers were asleep while these things became popular and there is no knowing, how it will all pan out, because the output is of a more general nature, that can touch any subject, any area of expertise. No one knows what they have been trained on and whether there is anything in that training data, that should not have been used, and there is no simple way (that I know of) to operate out any such data after training the model.

Re:AI won't steal your job, people leveraging AI will by gavinhoward on Monday April 03, 2023 @11:49AM (#35425821)
Maybe, but that's a bet I'm willing to take.

Here's the rub: if my competitors are going to realize "massive productivity gains," where are those gains actually coming from?

Are they coming from the time it takes to type? No, because typing is a small portion of the time we spend as programmers.

Are the gains coming from the time spent on design and architecture? Maybe, but that means my software will have better architecture, and I will have better velocity in the long run. (I have real-world experience with this, by the way; it takes me, on average, less than an hour to fix bugs in my bc nowadays. Architecture matters for long-term velocity.)

Are the gains coming from the time squashing bugs? No, this is where AI would decrease productivity because you have to carefully review outputs to ensure there are not any bugs.

In essence, the productivity gains will only happen the less that my competitors actually review and clean up the code from these tools. The less they do that, the lower the quality. The lower the quality, the slower their long-term velocity will be.

A higher slope makes up for a lot of y-intercept. [1]

[1]: https://gist.github.com/gtallen1187/e83ed02eac6cc8d7e185

Re:AI won't steal your job, people leveraging AI will by jmfldn on Monday April 03, 2023 @01:00PM (#35427346)
Honestly I wish you well in this approach, I just worry that ignoring this completely may be too costly.

I'm just advocating a very cautious middle path. For now, these tools are just code helpers to me (and right now I barely use them for that), but the moment I sense a genuine advantage to using them in my job, and I don't think it undermines my engineering, I think I'll have to engage further. Undermining for me means, reducing software quality, reliability, my own understanding. To the extent that I can work faster though, and even improve on those metrics, so much the better.

The semi-near future to me (5-10 years?) , breathless hype-aside, looks like one where quite a lot of coding is automated with machines able to range over whole codebases and build higher level models of the software, and then getting into architectural system-design suggestions. I also see them linking up with company docs to build up a model of the whole domain. This doesn't need AGI, it's just an extension of what we have now, and I can't see it being anything other than a game changer.

Forget ChatGPT, imagine your own private LLM, trained on your code and business, with all the weird glitches these prototypes have currently largely gone. You, the expert architect, are still needed, but you've now added a superpower to your tool chain.

Re:AI won't steal your job, people leveraging AI will by gavinhoward on Monday April 03, 2023 @01:20PM (#35427693)
Fair enough.

> This doesn't need AGI

This is where we disagree.

Code is so complex that I believe, strongly, that anything less than AGI will not be good enough. Notice I said "good enough". Sure, something less might be able to do something, but not good enough to make it a part of my toolkit.

Also, code is Turing-complete. These LLM's are not Turing-complete. How could something that is not Turing-complete hope to "understand" (for some definition) something that is?

Re:AI won't steal your job, people leveraging AI will by jmfldn on Monday April 03, 2023 @02:01PM (#35428511)
I sort of agree with you in the most extreme case, ie "computers taking our jobs" means AGI. I'm not even sure that LLMs take you to AGI fwiw. Obviously we also need to define what we mean by AGI too.

Anyway, all of that aside my point is this. AGI-aside, the current tools, scaled up and improved, will have a big impact on productivity eventually. When I think of the toil so much development involves now, especially for your average mid-level engineer, a lot of that could easily be eliminated. That's a lot of man hours right there. I can also see it as a knowledge base on steroids. Large orgs are so hampered by fragmented docs, misalignment etc, that this could really help to build business and domain insights.

I see any number of transformative business /dev products to start appearing soon. The level of investment, and the technical progress, make this inevitable.

Re:AI won't steal your job, people leveraging AI will by fl7305 on Monday April 03, 2023 @03:56PM (#35430338)
> These LLM's are not Turing-complete.

Aren't they? I view them as "language processors", that execute one token (instruction) at a time, and use the token window as their working memory.

Sure, they have a limit to their instruction count (8k/32) before stopping. The working memory is small, but 8k tokens goes a lot longer than 8 kB.

I've seen you state in other comments that LLM's cannot reason. I used to think so too until a couple of weeks ago.

But I had to change my mind. They're not just fancy autocomplete tools any more. They exhibit intelligence in that they can understand a given problem statement, reason about it, and make predictions and recommendations.

Re:AI won't steal your job, people leveraging AI will by gavinhoward on Monday April 03, 2023 @05:25PM (#35431501)
To demonstrate that LLM's are Turing-complete, give them a small program and some inputs, then tell them to tell you the outputs for each of the inputs.

In order to be Turing-complete, they would need to have edges between nodes (I don't know what they are called in ML parlance) that can go to previous nodes, as well as edges that are only conditionally taken.

> They exhibit intelligence in that they can understand a given problem statement, reason about it, and make predictions and recommendations.

They exhibit the intelligence of the humans that wrote the material used to train their models, nothing more. They are borrowed intelligence.

Re:AI won't steal your job, people leveraging AI will by fl7305 on Monday April 03, 2023 @11:50PM (#35434810)
> give them a small program and some inputs, then tell them to tell you the outputs for each of the inputs

I just tried this with all three versions of ChatGPT (3.5 legacy, 3.5, 4), and they all did it correctly.

>In order to be Turing-complete, they would need to have edges between nodes (I don't know what they are called in ML parlance) that can go to previous nodes, as well as edges that are only conditionally taken.

If you look at a neural network at the lowest level, it is trivial to implement a NAND gate with them. It just takes a few nodes. And LLMs have a feedback loop through their context window.

With NAND gates and a feedback loop you can build any CPU.

There are many examples of people asking ChatGPT to act like a CPU and pretend to execute instructions, or like a Python interpreter, or a Dungeon Master and respond to what the human players do.

Now, that doesn't make it an AI in itself. But it shows that there is no fundamental limit to its computational capabilities.

> They exhibit the intelligence of the humans that wrote the material used to train their models, nothing more.

Do you mean that they're just pattern matching input text against a fuzzy database and responding with canned answers?

If so, that's not what's going on in my view. That might have been accurate for the earlier LLMs.

But the latest LLMs appear to have developed internal language processing, a world model, and capabilities to reason about things.

Re:AI won't steal your job, people leveraging AI will by gavinhoward on Tuesday April 04, 2023 @08:58AM (#35438885)
What program did you give it? The program would need a while loop and an if statement to show Turing-completeness.
Re:AI won't steal your job, people leveraging AI will by fl7305 on Thursday April 06, 2023 @06:02AM (#35466366)
Some examples below. What do you see in the LLM design that makes it not Turing complete?

Here's one example:

  Prompt:
  Please pretend you are a CPU. Execute the following Python program and show what the output would be. Respond only with the outputs, and no comments:

  for i in range(5):
    if i == 3:
      print("Found 3")
    else:
      print(i)


  Response:
  0
  1
  2
  Found 3
  4
I got the same results on GPT-3.5 legacy, GPT-3.5, and GPT-4.

Second example (only works in GPT-4):

  Prompt 1:  
    Please pretend you are a CPU. Execute the following Python program and show what the output would be. Respond only with the outputs, and no comments:
  
    stop = False
    while not stop:
      user_input = input()
      if user_input == "stop":
        stop = True
      print(user_input)
    print("Program is done")
    
    For "input()", stop and ask me for the input string.
    
    If you reach the statement 'print("Program is done")', then say "It looks like we are done!".
    
  Response 1:
    input()
  
  Prompt 2:
    hello
  
  Response 2:
    hello
    input()
  
  Prompt 1:    
    world
  
  Response 2:
    world
    input()
  
  Prompt 1:   
    stop
  
  Response 2:
    stop
    It looks like we are done!
Re:AI won't steal your job, people leveraging AI will by BeefWellington on Monday April 03, 2023 @11:53AM (#35425927)
> I think the zero sum, "use AI everywhere" vs "don't use it at all" are both to be avoided. The wise path is somewhere in the middle.

I suspect this is one of those tech Pandora's box moments where it's largely irrelevant what actual tech people think about this; executives will be swayed to the "use AI everywhere" side of things purely as a cost-cutting measure. Any productivity gained via the use of AI will be leveraged not to improve overall productivity (in the medium to long term) but instead leveraged against employees to to shed salaries.