Monthly Archives: January 2020

Phil 1.31.20

7:00 – 4:00 PhD

  • Dissertation. Here’s how to do a timeline (support.office.com/en-us/article/create-a-timeline). Nope – this is horrible
  • Let’s try Python. Woohoo! It’s overkill, but looks great: Timeline
  • Here’s the code:
    import matplotlib.pyplot as plt
    import numpy as np
    from datetime import datetime
    
    
    names = ['Le Bon', 'Arendt', 'Martindale', 'Moscovici & Doise', 'Grunbaum',
             'Kauffman', 'Card & Pirolli', 'Bacharach', 'Olfati-Saber', 'Munson & Resnick', 'Stephens',
             'Galotti', 'Bastos']
    
    dates = ['1895', '1951', '1991', '1994', '1998', '1993', '1999', '2006', '2007', '2010', '2011', '2017', '2019']
    
    namedates = []
    for i in range(len(names)):
        namedates.append("{} ({})".format(names[i], dates[i]))
    
    
    # Convert date strings (e.g. 2014-10-18) to datetime
    dates = [datetime.strptime(d, "%Y") for d in dates]
    
    # Choose some nice levels
    levels = np.tile([-5, 5, -4, 4, -3, 3, -2, 2, -1, 1],
                     int(np.ceil(len(dates)/6)))[:len(dates)]
    
    # Create figure and plot a stem plot with the date
    fig, ax = plt.subplots(figsize=(8.8, 4), constrained_layout=True)
    ax.set(title="Literature")
    
    markerline, stemline, baseline = ax.stem(dates, levels,
                                             linefmt="C3-", basefmt="k-",
                                             use_line_collection=True)
    
    plt.setp(markerline, mec="k", mfc="w", zorder=3)
    
    # Shift the markers to the baseline by replacing the y-data by zeros.
    markerline.set_ydata(np.zeros(len(dates)))
    
    # annotate lines
    vert = np.array(['top', 'bottom'])[(levels > 0).astype(int)]
    for d, l, r, va in zip(dates, levels, namedates, vert):
        ax.annotate(r, xy=(d, l), xytext=(-3, np.sign(l)*3),
                    textcoords="offset points", va=va, ha="right")
    
    # remove y axis and spines
    ax.get_yaxis().set_visible(False)
    for spine in ["left", "top", "right"]:
        ax.spines[spine].set_visible(False)
    
    ax.margins(y=0.1)
    plt.subplots_adjust(left=0.1, right= 0.9)
    plt.show()
  • PhD Day

 

Phil 1.30.20

7:00 – 5:00 ASRC GOES

  • Antonio created an Overleaf project for ACSOS. Fixed the widthg of all the figures. Need to fix the tables and equations
  •  Dissertation
    • Fix the > \pagewidth equations
    • Slides
    • Get the timeline prev work slide updated for Kauffman, Martindale, and Bacharach (how did I do number lines?
  • Add December to status and send to T
  • Finish slide deck and paperwork for GSAW – done, I think
  • Meetings at NSOF
    • 1:30 Isaac
      • More discussion about simulators. We’re going to try running multiple sims this weekend with all even number wheels degraded at 20%, 40%, 60%, and 80% and compare them to 100%
      • In future, set up synchronized tasks so we can run more often and iterate across all wheels
      • Reviewed slides. Making small fixes
    • 2:00 regular status

Phil 1.29.20

7:00 – 8:00 ASRC GOES

  • The Office of Inspector General conducted a review of the Chicago Police Department’s risk models known as the Strategic Subject List and Crime and Victimization Risk Model. CPD received $3.8 million in federal grants to develop these models, which were designed to predict the likelihood an individual would become a “party to violence”, i.e. the victim or offender in a shooting. The results of SSL were know n as “risk scores” while CVRM produced “risk tiers.” In August 2079, CPD informed OIG that it intended to decommission its PTV risk model program and did so on November l, 2079. The purpose of this advisory is to assess lessons learned and provide recommendations for future implementation of PTV risk models.
  • In “Towards a Human-like Open-Domain Chatbot”, we present Meena, a 2.6 billion parameter end-to-end trained neural conversational model. We show that Meena can conduct conversations that are more sensible and specific than existing state-of-the-art chatbots. (Google blog post)
  • Defense
    • Slides – started lit review
    • Drop off dissertation with Wayne
  • GSAW
    • Tweak slides – trying to get a good AIMS overview slide so I can
    • Walkthrough with T
    • Paperwork
  • GOES Meetings
    • Influx DB (Influx 2.0) is a high-performance data store written specifically for time series data. It allows for high throughput ingest, compression and real-time querying. InfluxDB is written entirely in Go and compiles into a single binary with no external dependencies. It provides write and query capabilities with a command-line interface, a built-in HTTP API, a set of client libraries (e.g., Go, Java, and JavaScript) and plugins for common data formats such as Telegraf, Graphite, Collectd and OpenTSDB. 
    • The plan is to have the sim place data from the sim into the Influx DB and have the dashboard display the plots
    • This will generate data: file:///D:/GOES/AIMS4_UI_Mock/3satellite-instrument-analysis.html?page=reportpage&channel=5&status=error, once the demo is unzipped into D:/GOES
  • Meeting with Wayne
    • Dropped off the dissertation
    • Got the reader form signed. Just needs Shimei and Aaron
    • Discussed slides. Can skim the parts that would be review from the proposal and status (but put a slide that says this)
    • Feb 10 as walkthrough? 6:00?

Phil 1.28.20

Make appt. to pick up Dad on Friday after PhD day – done

  • 655 West Baltimore St, Baltimore 21201

protest_mapThis Interactive Guide to Protest Campaigns around the World uses data on all violent and nonviolent campaigns around the world with maximalist claims from 1945–2014 and is based on the NAVCO 1.2 database, recently released by Erica Chenoweth and Christopher Wiley Shay. The data extend on the NAVCO data project, which you can read about (and download) at the project’s Dataverse.

Here’s a bird’s eye view of six state-backed information operations on Twitter, and how they evolved over the last decade. This research was funded by the Mozilla Foundation by an Open Source Support Award.

7:00 – 5:00 ASRC GOES

  • Defense
    • More slides
    • Picked up printed versions and dropped off copies with Shimei, Aaron, and Thom
  • GSAW
    • Change intro slide on GSAW to triangle of data, accuracy, and reliability – done
    • Reworked and tweaked. Walkthrough with T tomorrow.

Phil 1.23.2020

7:00 – 6:00 ASRC GOES

Check Copenhagen Wheel serial number for this recall

  • Get comments back to Antonio tonight! – done
  •  Dissertation
    • Writing chapter summaries
      • Research design – done
      • Simulation – done
      • Adversarial herding – done
      • Belief space cartography – done
      • Human study – done
      • Discussion – done
      • Conclusions – done!
      • Sent pdfs to common vision. Need to set the pdfs out with a note tomorrow morning
    • Caught up with Wayne a bit and commented out the “Why this is HCC section” Keep it for a backup slide though
  • Very interesting Invisibilia on AI
  • GSAW prep
    • Registration
  • Told Aaron about OpML 20. It’s only two pages and due on Feb 25. Maybe a quick writeup of Optevolver?

Phil 1.22.20

7:00 – 6:00 ASRC GOES

Check Copenhagen Wheel serial number for this recall

Contact Dreamhost about missing folders – done Fixed!

Phil 1.21.20

7:00 – 6:00 ASRC GOES

  • Dissertation
    • Chasing TODOs
    • TODO: Add transition paragraph (ch_background.tex) – done
    • TODO: stiff, moving platform (ch_background.tex) – done
    • TODO: clarify multicellular vs individuals vs dangerous stampedes Connect the lists. (sec_biological_basis.tex) – done
  • GSAW prep
    • Tix and hotel
  • TF Dev Conf
    • Tix and hotel

Phil 1.20.20

Transformers from Scratch

  • Transformers are a very exciting family of machine learning architectures. Many good tutorials exist, but in the last few years transformers have mostly become simpler, so that it is now much more straightforward to explain how modern architectures work. This post is an attempt to explain directly how modern transformers work, and why, without some of the historical baggage.

Dissertation

  • Folding in Wayne’s edits
    • Made the Arendt paragraph of velocity less reflective and more objective.
    • TODO: Defend facts to opinion with examples of language, framing, what is interesting, etc.-done
    • TODO: Heavy thoughts, light and frivolous, etc. We ascribe these, but they are not there – done
    • TODO: We have a MASSIVE physical bias. Computers don’t. Done
    • TODO: COmputers and people must work together
  • Title case all refs (Section, Table, etc) – done
  • \texttt all urls (reddit, etc) – done
  • search for and / or slashes
  • Fix underlines as per here– done!
    % for better underlining
    \usepackage[outline]{contour}
    \usepackage{ulem}
    \normalem % use classical emph
    
    \newcommand \myul[4]{%
    	\begingroup%
    	\renewcommand \ULdepth {#1}%
    	\renewcommand \ULthickness {#2}%
    	\contourlength{#3}%
    	\uline{\phantom{#4}}\llap{\contour{white}{#4}}%
    	\endgroup%
    }

     

Phil 1.17.20

An ant colony has memories that its individual members don’t have

  • Like a brain, an ant colony operates without central control. Each is a set of interacting individuals, either neurons or ants, using simple chemical interactions that in the aggregate generate their behaviour. People use their brains to remember. Can ant colonies do that? 

7:00 – ASRC

  •  Dissertation
    • More edits
    • Changed all the overviews so that they also reference the section by name. It reads better now, I think
    • Meeting with Thom
  • GPT-2 Agents
  • GSAW Slide deck

Phil 1.16.20

Optuna: An open source hyperparameter optimization framework to automate hyperparameter search

  • Medium writeup. It looks like this is Bayesian, and is better than hyperopt?

7:00 – 5:00 ASRC GOES

  • Dissertation
    • Starting to add Wayne’s comments
    • Finished the intro, starting motivation
  • NSOF Meeting with Isaac & Bruce
    • Still looking at the optimal scenario to use the current simulators (running over a weekend) to generate data
    • Data sets are used to train and evaluate, then progressively simplified until they can no longer recognize the source data. This will let us estimate the fidelity of the simulations we need.
  • JuryRoom meeting. Looking into adding UX faculty. Meeting is expanding to 6:00 – 8:00

Phil 1.15.20

I got invited to the TF Dev conference!

The HKS Misinformation Review is a new format of peer-reviewed, scholarly publication. Content is produced and “fast-reviewed” by misinformation scientists and scholars, released under open access, and geared towards emphasizing real-world implications. All content is targeted towards a specialized audience of researchers, journalists, fact-checkers, educators, policy makers, and other practitioners working in the information, media, and platform landscape.

  • For the essays, a length of 1,500 to 3,000 words (excluding footnotes and methodology appendix) is appropriate, but the HKS Misinformation Review will consider and publish longer articles. Authors of articles with more than 3,000 words should consult the journal’s editors before submission.

7:00 – ASRC GOES

  •  Dissertation
    • It looks like I fixed my LaTeX problems. I went to C:\Users\phil\AppData\Roaming\MiKTeX\2.9\tex\latex, and deleted the ifvtex folder. Re-ran, things installed, and all is better now
    • Slides
  • GOES
    • Pinged Isaac about the idea of creating scenarios that incorporate the NASA simulators
    • Meeting
  • GSAW
    • Slides
    • Speakers presenting in a plenary session are scheduled to speak for 15 minutes, with five additional minutes allowed for questions and answers from the audience
    • Our microphones work best when the antenna unit is clipped to a belt and the microphone is attached near the center of your chest.
    • We are NOT providing network capabilities such as WiFi. If you require WiFi, you are responsible for purchasing it from the hotel and ensuring that it works for the presentation.
    • Charts produced by the PC version of Microsoft PowerPoint 2013, 2016 or 365 are preferred
    • . In creating your slides, note that the presentation room is large and you should consider this in your selection of larger fonts, diagram size, etc. At a minimum, a 20-point font is recommended
  • GPT-2 – Maybe do something with Aaron today?

Phil 1.14.20

7:00 – 5:00 ASRC GOES/PhD

  • Finishing touches on the dissertation. Need to lint the bibtex – done
    • The work machine is not behaving. Had to move to Overleaf
  • Call commonvision to schedule printing and binding – done
  • Order some thumb drives – done
  • Meeting with Don. Discovered that he’s a digital format guy. Discovered that the Lit Review was missing from the exec summary
  • Corresponding with Thom. Hardcopy. Meeting still on Friday?