Login
You're viewing the code4lib.social public feed.

Replies

  • Nov 29, 2026, 10:57 PM

    @timbray > I’m wondering if it’s possible to instrument an LLM to emit a believable list of the sources it’s relying on. Google search is doing this right now and when I follow its links they seem as advertised. The idea is that when someone pays for an LLM to answer a question and the answer is based on your work, you get a royalty.

    I posted something about this recently, and I think the answer is that a. it’s probably not possible and b. it will make inference even more power-hungry.

    (I’m assuming you’re talking about actually annotating the model, and not RAG or some other agentic-style search *driven* by the model.)

    tl;dr: fundamentally, it’s not really possible to talk of “a source” for an LLM extrusion; each token is the end result of summing up billions of parameters in the model, and each parameter is influenced by billions of training materials. And keeping a tally of all the influences of each node requires massive storage, probably in the exabyte range per model.

    💬 2🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 30, 2026, 8:26 AM

    @eichin @drahardja @timbray allenai.org/blog/olmotrace is the only attempt I can find to trace provenance post-hoc. Although it only works for exact matches. So it may be useful for natural language, but not code. A simple variable substitution, function renaming, or any other trivial AST transformation would defeat it. There'd probably need to be some kind of "canonical form" that is independent of names, and survives inlining, function extraction, etc.

    💬 0🔄 0⭐ 2
  • Dec 1, 2026, 2:07 AM

    @edwintorok @drahardja @timbray Neat! They say they use infini-gram.io/ to make the search part tractable, which is interesting in its own right. Ooh, and they just released a suite of compact models. (I've run across them before and yeah, I haven't seen anyone else even *gesturing* in this direction, so it's probably time to dig into them a bit.)

    💬 0🔄 0⭐ 0
  • Dec 1, 2026, 3:17 AM

    @eichin @edwintorok @drahardja

    And yet, go to google.com and do a nontrivial search and it gives you a nicely-worded answer annotated with sources. Try following some of the source links and see what you think. So it feels to me like an existence proof that this kind of thing can be done?

    💬 1🔄 0⭐ 0
  • Dec 1, 2026, 3:25 AM

    @timbray @eichin @edwintorok That’s RAG (Retrieval-Augmented Generation). The model (or the orchestrator) calls out to a service that performs traditional Google search. The orchestrator then causes the model to re-summarize the search result and generate the citations. The sources aren’t part of the model itself, but provided at runtime by the search engine.

    Putting citations in the model itself is very expensive in terms of training time and storage and retrieval of that information.

    💬 1🔄 0⭐ 0
  • Dec 1, 2026, 3:43 AM

    @drahardja @eichin @edwintorok Yeah I know about RAG (although now that I think of it, seems like nobody's taking about it any more) but right now late-2026 Google has a different feel, I think there's more going on. You could be right though.

    💬 1🔄 0⭐ 0
  • Dec 1, 2026, 3:49 AM

    @timbray @drahardja @eichin @edwintorok unless things have changed in the last six months (which seems unlikely, Google doesn’t move that fast) it’s RAG with supplementation from the general data gruel in the model. Semi traditional search happens first, pages are selected using it, then those pages contents are used to anchor the LLM for text generation.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 30, 2026, 12:32 AM

    @timbray The economic imperative to earn from exclusive control of otherwise-unconstrained copyable works is a unique feature of our current socioeconomic system that itself is of dubious ethics.

    Why exactly should someone’s expressing of something enjoin the entire world from expressing something similar?

    I will admit that wanting social credit for a good idea is a real thing but attribution takes care of that.

    💬 0🔄 1⭐ 0
  • Nov 30, 2026, 1:54 AM

    @timbray nice piece and agree with it. and also agree that are are some misguided takes on the fediverse. To add to the evidence of the climate impacts, @ketan has a nice summary at ketanjoshi.co/2026/11/11/brief

    Attempts to dismiss this evidence (as well as the other negative environmental and other societal impacts), borders on climate denialism. Just because it's not as big as the entire transportation sector, it's still poised to be amongst the worst industries.

    💬 0🔄 0⭐ 0
  • Nov 30, 2026, 3:13 AM

    @timbray
    This can be reduced to the question with an answer we already got to:

    Can billionaire class be made ethical?

    💬 0🔄 0⭐ 1
  • Nov 30, 2026, 7:13 PM

    @ohir @timbray this question implies that AI can't be made without billionaires. I don't know that that's been proven.

    💬 0🔄 0⭐ 0
  • Nov 30, 2026, 5:41 AM

    @timbray In the same way that a child can be "made" ethical - or led towards making decisions more ethically - I think we can "make" AI more ethical.

    It would require throwing away all the AIs we have and creating new LLMs but *only* giving them material to ingest that demonstrates good from bad and explains why bad is bad, and also allows the LLM to taste consequences.

    In other words, if we used the same process we use when we raise children.

    Ya, I'm trippin', right?

    💬 0🔄 0⭐ 0
  • Nov 30, 2026, 2:26 PM

    @timbray If I'm not mistaken you've made the jump to "not at a workplace" or at least in control of your own actions. I'm at the "can I keep doing this for a while then stop" phase. A lot of colleagues in the middle career all are truly demoralized and wondering how to continue on in engineering. Icky and sticky is so right.. the discipline itself is languishing.

    You and I met very briefly once while standardizing AtomPub. That was fun work, very people based, very valuable-feeling.

    💬 0🔄 0⭐ 0
  • Nov 30, 2026, 5:23 PM

    @timbray this was a good read, and I agree with the three main issues boiling down to theft, energy consumption, and class warfare. I might also add a 4th ethical issue of how AI ruins the web by DDoSing websites with constant scraping, but maybe that fits into the first and second issues so doesnt need to be added.

    💬 2🔄 0⭐ 0
  • Nov 30, 2026, 5:30 PM

    @docpop @timbray this might be a broader category of hidden ways AI companies are making the web worse. Not just scrapers adding load to websites (but also those websites then taking steps like blocking all scrapers so making search worse and/or adding captchas to test for “humans” or making sites login only)

    But also maintainers of open source projects getting floods of AI written “bug reports/code fixes” and publishers of all kinds of content getting floods AI generated works closing subs

    💬 1🔄 0⭐ 0
  • Dec 1, 2026, 2:37 AM

    @Rycaut perhaps my 4th category would be "destroying the open web", which broadly includes:
    DDoSing sites by constantly scraping them
    Flooding the web with slop (ai generated posts, images, videos, pull requests, etc). Thus drowning out competition and making it where only large companies (Facebook, Google, Etc) are still standing since smaller projects can't afford to deal with slop and are no longer findable in a world of copycats.

    💬 0🔄 0⭐ 0
  • Nov 30, 2026, 5:41 PM

    @timbray a bigger issue might be with the question itself. Asking "Can AI be made ethical?" is a bit like asking "Can capitalism be made ethical?" or "Can the billionaire class be made ethical?" The people in control have no incentive to make these changes, but they'd love for us to keep debating whether change is possible instead of talking about how to make it happen.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Dec 1, 2026, 5:28 PM

    @timbray Thanks for writing this. The percentage of energy consumption for training vs inference also surprised me a lot.... so does that mean that if everybody ran LLMs locally, it would drastically decrease the environmental footprint of genAI?

    (not that it will happen but it would slightly change my views on local LLMs)

    💬 1🔄 0⭐ 0
  • Dec 1, 2026, 6:27 PM

    @ludovic On the other hand, it might *increase* it; arguably more efficient to share the work out among beefy cloud servers as opposed to everyone having a meat-grinder on their desktop which would not be used quite a bit of the time?

    💬 1🔄 0⭐ 0
  • Dec 1, 2026, 7:18 PM

    @timbray True.... so for the first time in 40 years we've got to, like... start doing *less* with computers 😅

    Which frankly I'm fine with. I look at the sharp drop in people signing up to software engineering courses in university and I'm like "yes, please go do something that's more useful to society, because software stopped being it 10 years ago or so"

    💬 0🔄 0⭐ 0